package com.logos.ruralrevitalization.converter;

import com.logos.ruralrevitalization.entity.AttractionReviews;
import com.logos.ruralrevitalization.entity.TouristAttractions;
import com.logos.ruralrevitalization.req.AttractionReviewsReq;
import com.logos.ruralrevitalization.req.TouristAttractionsReq;
import com.logos.ruralrevitalization.resp.AttractionReviewsResp;
import com.logos.ruralrevitalization.resp.TouristAttractionsResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface TouristAttractionConverter {

    TouristAttractionConverter INSTANCE = Mappers.getMapper(TouristAttractionConverter.class);

    TouristAttractions convertReqToEntity(TouristAttractionsReq touristAttractionsReq);

    TouristAttractionsResp convertEntityToResp(TouristAttractions touristAttractions);
}